package com.treehouse.northlight.component;

import com.artemis.Component;
import com.badlogic.gdx.physics.box2d.Transform;

/**
 * Component Class
 * 
 * A wrapper class used for classes from other APIs. Classes which can't extend
 * from component itself will be referenced into the wrapper class, allowing the
 * artemis framework to process them in any entity system.
 * 
 * @author Julian Biermann
 * @version 1.0 03.03.2013
 * 
 */
public class TransformWrapper extends Component {

	private Transform transform;

	/**
	 * Constructor
	 * 
	 */
	public TransformWrapper(Transform transform) {
		this.transform = transform;
	}

	/**
	 * @return transform as Transform.
	 */
	public Transform getTransform() {
		return transform;
	}
}
